package models

import "time"

type Ratings struct {
	RatingID   uint64    `gorm:"column:rating_id;primary_key;auto_increment" json:"rating_id"`
	Score      uint64    `gorm:"column:score;not null" json:"score" `
	UserID     uint64    `gorm:"column:user_id;not null" json:"user_id"`
	RecipeID   uint64    `gorm:"column:recipe_id;" json:"recipe_id" `
	RatingDate time.Time `gorm:"column:rating_date;" json:"rating_date" `
}
